<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTLineCap.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_line_cap_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTLineCap.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_line_cap_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;QuartzCore/QuartzCore.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a>;
<a name="l00007"></a>00007 <span class="keyword">@class</span> <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a>;
<a name="l00008"></a>00008 
<a name="l00012"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571">00012</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571" title="Line cap types.">_CPTLineCapType</a> {
<a name="l00013"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a9caefeb971c83f06866c28026d402392">00013</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a9caefeb971c83f06866c28026d402392" title="No line cap.">CPTLineCapTypeNone</a>,       
<a name="l00014"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a2e1451998e51513cee6424da98e7bcac">00014</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a2e1451998e51513cee6424da98e7bcac" title="Open arrow line cap.">CPTLineCapTypeOpenArrow</a>,  
<a name="l00015"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ae9171dc5b0e26ae4c2b67557a16be6af">00015</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ae9171dc5b0e26ae4c2b67557a16be6af" title="Solid arrow line cap.">CPTLineCapTypeSolidArrow</a>, 
<a name="l00016"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571aaca27fe7e6ca6cf3f2900f9008677021">00016</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571aaca27fe7e6ca6cf3f2900f9008677021" title="Swept arrow line cap.">CPTLineCapTypeSweptArrow</a>, 
<a name="l00017"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a813bc735b8b85018b7a3c2124be5bf9e">00017</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a813bc735b8b85018b7a3c2124be5bf9e" title="Rectangle line cap.">CPTLineCapTypeRectangle</a>,  
<a name="l00018"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a637ee1c6a0231f8a708c7e78aba942c4">00018</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a637ee1c6a0231f8a708c7e78aba942c4" title="Elliptical line cap.">CPTLineCapTypeEllipse</a>,    
<a name="l00019"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ab39fb2a49f626db5fec078209129cd23">00019</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ab39fb2a49f626db5fec078209129cd23" title="Diamond line cap.">CPTLineCapTypeDiamond</a>,    
<a name="l00020"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a6d824497b3932f8c2da4d00396e47905">00020</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a6d824497b3932f8c2da4d00396e47905" title="Pentagon line cap.">CPTLineCapTypePentagon</a>,   
<a name="l00021"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ae29ca3c0793784acb0dac2ceed5250c2">00021</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571ae29ca3c0793784acb0dac2ceed5250c2" title="Hexagon line cap.">CPTLineCapTypeHexagon</a>,    
<a name="l00022"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571af97248a474e8796c4283c2b010d1a392">00022</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571af97248a474e8796c4283c2b010d1a392" title="Bar line cap.">CPTLineCapTypeBar</a>,        
<a name="l00023"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a45684ac7120eb0993f9f1b94a4ea07fa">00023</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a45684ac7120eb0993f9f1b94a4ea07fa" title="X line cap.">CPTLineCapTypeCross</a>,      
<a name="l00024"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a5fac803b81061bf3daa4481f2f5d535f">00024</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a5fac803b81061bf3daa4481f2f5d535f" title="Snowflake line cap.">CPTLineCapTypeSnow</a>,       
<a name="l00025"></a><a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a4b9a49e595fcfb838a99774a021a4a4d">00025</a>     <a class="code" href="_c_p_t_line_cap_8h.html#aaafff866c33b1723bb3c1161d4e8f571a4b9a49e595fcfb838a99774a021a4a4d" title="Custom line cap.">CPTLineCapTypeCustom</a>      
<a name="l00026"></a>00026 }
<a name="l00027"></a>00027 <a class="code" href="_c_p_t_line_cap_8h.html#ace3f90f010f9b2ef82d3fd07789fa2cc" title="Line cap types.">CPTLineCapType</a>;
<a name="l00028"></a>00028 
<a name="l00029"></a><a class="code" href="interface_c_p_t_line_cap.html">00029</a> <span class="keyword">@interface </span><a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> : <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html">NSObject</a>&lt;<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html">NSCoding</a>, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Protocols/NSCopying_Protocol/Reference/Reference.html">NSCopying</a>&gt; {
<a name="l00030"></a>00030     <span class="keyword">@private</span>
<a name="l00031"></a><a class="code" href="interface_c_p_t_line_cap.html#a5f3df7cad9ee78b6b00ebf606c958dd2">00031</a>     <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> <a class="code" href="interface_c_p_t_line_cap.html#a5f3df7cad9ee78b6b00ebf606c958dd2" title="The symbol size when the line is drawn in a vertical direction.">size</a>;
<a name="l00032"></a><a class="code" href="interface_c_p_t_line_cap.html#afb27cdb0ed81a9762117a2e696560bbb">00032</a>     <a class="code" href="_c_p_t_line_cap_8h.html#ace3f90f010f9b2ef82d3fd07789fa2cc" title="Line cap types.">CPTLineCapType</a> <a class="code" href="interface_c_p_t_line_cap.html#afb27cdb0ed81a9762117a2e696560bbb" title="The line cap type.">lineCapType</a>;
<a name="l00033"></a><a class="code" href="interface_c_p_t_line_cap.html#ad5a10cf86973d6861e3cb38483945e09">00033</a>     <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *<a class="code" href="interface_c_p_t_line_cap.html#ad5a10cf86973d6861e3cb38483945e09" title="The line style for the border of the line cap. If nil, the border is not drawn.">lineStyle</a>;
<a name="l00034"></a><a class="code" href="interface_c_p_t_line_cap.html#ad4328a640da1088569c709f315f7b3c3">00034</a>     <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *<a class="code" href="interface_c_p_t_line_cap.html#ad4328a640da1088569c709f315f7b3c3" title="The fill for the interior of the line cap. If nil, the symbol is not filled.">fill</a>;
<a name="l00035"></a>00035     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> cachedLineCapPath;
<a name="l00036"></a><a class="code" href="interface_c_p_t_line_cap.html#a11741a8fdd07222788fa4c013d58404e">00036</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> <a class="code" href="interface_c_p_t_line_cap.html#a11741a8fdd07222788fa4c013d58404e" title="The drawing path for a custom line cap. It will be scaled to size before being drawn.">customLineCapPath</a>;
<a name="l00037"></a><a class="code" href="interface_c_p_t_line_cap.html#a2f8e95dd2c3f265766bd87668c1710e7">00037</a>     <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="interface_c_p_t_line_cap.html#a2f8e95dd2c3f265766bd87668c1710e7" title="If YES, the even-odd rule is used to draw the line cap, otherwise the nonzero winding number rule is ...">usesEvenOddClipRule</a>;
<a name="l00038"></a>00038 }
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> size;
<a name="l00041"></a>00041 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="code" href="_c_p_t_line_cap_8h.html#ace3f90f010f9b2ef82d3fd07789fa2cc" title="Line cap types.">CPTLineCapType</a> lineCapType;
<a name="l00042"></a>00042 <span class="keyword">@property</span> (nonatomic, readwrite, retain) <a class="code" href="interface_c_p_t_line_style.html" title="Immutable wrapper for various line drawing properties.">CPTLineStyle</a> *lineStyle;
<a name="l00043"></a>00043 <span class="keyword">@property</span> (nonatomic, readwrite, retain) <a class="code" href="interface_c_p_t_fill.html" title="Draws area fills.">CPTFill</a> *fill;
<a name="l00044"></a>00044 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a> customLineCapPath;
<a name="l00045"></a>00045 <span class="keyword">@property</span> (nonatomic, readwrite, assign) <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> usesEvenOddClipRule;
<a name="l00046"></a>00046 
<a name="l00049"></a>00049 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)lineCap;
<a name="l00050"></a>00050 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)openArrowPlotLineCap;
<a name="l00051"></a>00051 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)solidArrowPlotLineCap;
<a name="l00052"></a>00052 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)sweptArrowPlotLineCap;
<a name="l00053"></a>00053 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)rectanglePlotLineCap;
<a name="l00054"></a>00054 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)ellipsePlotLineCap;
<a name="l00055"></a>00055 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)diamondPlotLineCap;
<a name="l00056"></a>00056 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)pentagonPlotLineCap;
<a name="l00057"></a>00057 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)hexagonPlotLineCap;
<a name="l00058"></a>00058 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)barPlotLineCap;
<a name="l00059"></a>00059 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)crossPlotLineCap;
<a name="l00060"></a>00060 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)snowPlotLineCap;
<a name="l00061"></a>00061 +(<a class="code" href="interface_c_p_t_line_cap.html" title="End cap decorations for lines.">CPTLineCap</a> *)customLineCapWithPath:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGPath/Reference/reference.html#//apple_ref/doc/c_ref/CGPathRef.html">CGPathRef</a>)aPath;
<a name="l00063"></a>00063 
<a name="l00066"></a>00066 -(void)renderAsVectorInContext:(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a>)theContext atPoint:(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)center inDirection:(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a>)direction;
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 <span class="keyword">@end</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_line_cap_8h.html">CPTLineCap.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
